package com.clock.service;

import com.clock.common.domain.R;
import com.clock.domain.dto.CommentDTO;
import com.clock.domain.entity.Comment;
import com.github.pagehelper.PageInfo;

public interface CommentService {


    R addNewComment(CommentDTO commentDTO) throws Exception;

    PageInfo<Comment> getCommentsByLimit(Long entityId, Integer pageNum, Integer pageSize);


    PageInfo<Comment> getReplyCommentsByLimit(Long entityId, Integer pageNum);

}
